<#include "base.ftl">
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="${base}css/bootstrap.min.css">
  <link rel="stylesheet" href="${base}css/bootstrap-datetimepicker.min.css">
  <link href="http://hovertree.com/texiao/bootstrap/4/css/city-picker.css" rel="stylesheet" />
  <link rel="stylesheet" href="${base}css/mainPc.css">
  <title>广州久龙精品酒店</title>
</head>
<body onload="checkAccount();">
  <header>
    <nav class="navlist">
      <div class="nav_left">
        <ul>
          <li><a class="logo" href="javascript:;"><img src="${base}img/logo_orange.png" height="40" alt=""></a></li>
   
        </ul>
      </div>
        
    </nav>
    <div class="shadow"></div>
  </header>

  <div class="container">
    
    <div id="myCarousel" class="carousel slide">
      <!-- 轮播底部标识,需手动添加 -->
      <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
      </ol>   
      <!-- 轮播banner -->
      <div class="carousel-inner">
        <div class="item active">
          <a class="h4 banner_title_a" href="javascript:;">应有尽有：舒适无处不在</a>
          <img class="banner" src="${base}img/winter-1700.jpg" height="300" alt="First slide">
        </div>
        <div class="item">
          <a class="h4 banner_title_a" href="javascript:;">应有尽有：舒适无处不在</a>
          <img class="banner" src="${base}img/wedding-1700.jpg" height="300" alt="Second slide">
        </div>
        <div class="item">
          <a class="h4 banner_title_a" href="javascript:;">应有尽有：舒适无处不在</a>
          <img class="banner" src="${base}img/kayak-1700.jpg" height="300" alt="Third slide">
        </div>
        <div class="item">
          <a class="h4 banner_title_a" href="javascript:;">应有尽有：舒适无处不在</a>
          <img class="banner" src="${base}img/food_drink-1700.jpg" height="300" alt="Third slide">
        </div>
      </div>
      <!-- 轮播左右按钮 -->
      <a class="carousel-control left" href="#myCarousel" data-slide="prev"><i class="il"></i></a>
      <a class="carousel-control right" href="#myCarousel" data-slide="next"><i class="ir"></i></a>
    </div> 


  
 <form method="post" action="kfydPc">
    <div class="row">
      <div class="col-md-8 col-xs-12">

        <div class="panel panel-default">
         
          <div class="panel-body shaix">
       
          </div>
          </form>
        </div>

     
        <nav class="navbar navbar-default">
         
           <ul class="nav navbar-nav">
            <li class="active"><a href="#">详情</a></li>
          </ul>
        </nav>
   				

  <#if (detailList?size>0) && (detailList)>
<#list detailList as product> 

        <ul class="list-group">
     
   
          <li class="list-group-item">
             
            <table class="table table-striped">
              <tr>
              	<td>ID</td>
                <td>分店</td>
                <td>报表状态</td>
                <td>日期</td>
                <td>操作</td>

              </tr>
              <ul>
               
              <tr>
              	<td><a href="javascript:;" id="bedType">${product.id}</a></td>
                <td><a href="javascript:;" id="bedType">${product.title}</a></td>	
                <td class="">${product.link}</td>	
                <td>${product.desc1}</td>
            
                <td><a href="${base}chaPc?picture=${product.picture}" class="btn btn-warning"  >查看详情</a></td>
                
                 
              </tr>
  	      	</br>
              </ul>
            </table>
          
          </li>
         	
       </#list>
            <#else>


</#if>
        </ul>         
      </div>


       
     


    </div>
      
    </div>
	 


  
 

<script type="text/javascript">

	function gotoIndexLogin1(){
		var account=document.getElementById("account").value;
		var hash=document.getElementById("password").value;
		var password=hex_md5(hash);
	$.ajax({
		type:'post',
		url:'indexPc1',
		data:{account:account,password:password},
		dataType:'json',
		success:function(data){
			try{
				//document.getElementById("exampleInputEmail12").value=data.validateCode;
				//document.getElementById("myModal").style.display="none";
		
			var test=data.validateCode;
		
		if(test==""){
			//alert('账号或者密码不正确，请重新输入！');
			return false;
		}
			document.getElementById("login").style.display="none";
		
			document.getElementById("cart1").innerHTML=test;
			document.getElementById("cart").style="visible";
			document.getElementById("person").style="visible";
			
			//alert('success');
			$("#myModal").modal("hide");
			}catch(e){
				console.log(e);
			}
		},
		error:function(data){
			alert("账号或者密码不正确，请重新输入！");
			console.log(1234);
		// callpay('indexPc');
		}
	});
	//setInterval('test()',1000);
}


</script>
<script src="${base}js/md5.js"></script>
  <script src="${base}js/jquery.min.js"></script>
  <script src="${base}js/bootstrap.min.js"></script>
  <script src="${base}js/bootstrap-datetimepicker.min.js"></script>
  <script src="${base}js/bootstrap-datetimepicker.fr.js"></script>
  <script src="http://hovertree.com/texiao/bootstrap/4/js/city-picker.data.js"></script>
  <script src="http://hovertree.com/texiao/bootstrap/4/js/city-picker.js"></script>
  <script src="${base}js/mainPc.js"></script>
</body>
</html>